Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update linear.py #146

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Update linear.py #146

wants to merge 1 commit into from

Conversation

Katze2664
Copy link
Contributor

Simpler prediction using np.matmul
(Apologies if this code doesn't work in a way that I've overlooked.)

Simpler prediction using np.matmul
@boris-il-forte
Copy link
Collaborator

I need to check this in detail. This was done a long ago and I don't remember if there was a reason behind this choice.
The solution proposed (matrix multiplication) seems to be the most straightforward one, but I guess it can have issues with higher dimensions. It may still work but I need to be sure before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants